package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkUserReceiveDao;
import com.suke.czx.modules.wxadmin.entity.DkUserReceiveEntity;
import com.suke.czx.modules.wxadmin.service.DkUserReceiveService;



@Service("dkUserReceiveService")
public class DkUserReceiveServiceImpl implements DkUserReceiveService {
	@Autowired
	private DkUserReceiveDao dkUserReceiveDao;
	
	@Override
	public DkUserReceiveEntity queryObject(Integer id){
		return dkUserReceiveDao.queryObject(id);
	}
	
	@Override
	public List<DkUserReceiveEntity> queryList(Map<String, Object> map){
		return dkUserReceiveDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkUserReceiveDao.queryTotal(map);
	}
	
	@Override
	public void save(DkUserReceiveEntity dkUserReceive){
		dkUserReceiveDao.save(dkUserReceive);
	}
	
	@Override
	public void update(DkUserReceiveEntity dkUserReceive){
		dkUserReceiveDao.update(dkUserReceive);
	}
	
	@Override
	public void delete(Integer id){
		dkUserReceiveDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		dkUserReceiveDao.deleteBatch(ids);
	}

	@Override
	public List<DkUserReceiveEntity> queryByOpenidAndTimes(Map<String, String> parms) {
		return dkUserReceiveDao.queryByOpenidAndTimes(parms);
	}
	
}
